﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 锁号明细表
    /// </summary>
    public partial class TbAppointmentLockNum
    {
        /// <summary>
        /// id
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 科室id
        /// </summary>
        public int SubjectId { get; set; }
        /// <summary>
        /// 排班日期
        /// </summary>
        public DateTime? DutyDate { get; set; }
        /// <summary>
        /// 时段id
        /// </summary>
        public int? TimeSpanId { get; set; }
        /// <summary>
        /// 号源id
        /// </summary>
        public int? SourceId { get; set; }
        public int SeqNum { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string? CertificateNo { get; set; }
        /// <summary>
        /// 锁号id
        /// </summary>
        public Guid LockNumOrderId { get; set; }
        /// <summary>
        /// 锁号时间
        /// </summary>
        public DateTime LockTime { get; set; }
        public Guid? NumId { get; set; }
        /// <summary>
        /// 医院编号
        /// </summary>
        public string? HospitalCode { get; set; }
        /// <summary>
        /// 标识
        /// </summary>
        public int? Flag { get; set; }
        /// <summary>
        /// 访问标识
        /// </summary>
        public int? VisitFlag { get; set; }
        /// <summary>
        /// 申请号
        /// </summary>
        public int Sqh { get; set; }
        /// <summary>
        /// 初复诊
        /// </summary>
        public int? IsCzf { get; set; }
        public string? OldOrderNumber { get; set; }
        /// <summary>
        /// 患者卡号
        /// </summary>
        public string? CardNo { get; set; }
    }
}
